package com.sky.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sky.entity.Permission;
import com.sky.mapper.PermissionMapper;
import com.sky.service.PermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 23714
* @description 针对表【permission】的数据库操作Service实现
* @createDate 2024-09-29 10:45:16
*/
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission>
    implements PermissionService{

    @Resource
    private PermissionMapper permissionMapper;

    @Override
    /**
     * 查询所有的code的字符串集合
     * @return
     */
    public List<String> selectCodeStr() {
        return permissionMapper.selectCodeStrList();
    }
}




